package moplayer;

import java.util.Date;

import com.illposed.osc.OSCListener;
import com.illposed.osc.OSCMessage;


public class MockOSCReceiver implements OSCListener {

	@Override
	public void acceptMessage(Date arg0, OSCMessage message) {
		System.out.println(message.getAddress());
		Object[] args = message.getArguments();
		Float currentX = (Float) args[0];
		Float currentY = (Float) args[1];
		System.out.print("X: " + currentX);
		System.out.println(" Y: " + currentY);
	}

}
